//
//  CommonWebController.m
//  PandaTakeaway
//
//  Created by smufs on 2017/7/3.
//  Copyright © 2017年 李冰. All rights reserved.
//

#import "CommonWebController.h"

@interface CommonWebController ()

@end

@implementation CommonWebController

- (void)viewDidLoad {
    [super viewDidLoad];

    WKWebViewConfiguration *configuration = [[WKWebViewConfiguration alloc] init];
    [self createWebViewWithConfiguration:configuration];
    [self loadWithURL:[NSURL URLWithString:self.url]];
    self.webView.frame = CGRectMake(0, 64, lbScreenWidth, lbScreenHeight - 64);
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (UIStatusBarStyle)preferredStatusBarStyle {
    
    return UIStatusBarStyleLightContent;
}

@end
